
[#include "single/layout/layout02/layout.ftl"/]
[@htmlHead]
<link href="${jpath}/assets/public/plugins/jqGrid/css/ui.jqgrid-bootstrap.css" rel="stylesheet" type="text/css"/>
[/@htmlHead]

[@htmlBody]
<div class="row">
    <div class="col-xs-12">
        <ul class="nav nav-tabs ">
            <li class="active">
                <a href="javascript:void(0)">
                    操作日志列表
                </a>
            </li>
        </ul>
    </div>
</div>
<div class="row">
    <div class="col-xs-12">
        <form class="form-horizontal" id="search-form">
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">系统编码:</label>
                <div class="col-xs-12 col-sm-2">
                    <select name="appKey" class="form-control ">
                        <option value=""></option>
                        [#if appList?exists]
                            [#list appList as app]
                                <option value="${app.appNameCode}">${app.appNameCode}</option>
                            [/#list]
                        [/#if]
                    </select>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">标签:</label>
                <div class="col-xs-12 col-sm-2">
                    <input type="text" name="tag" class=" form-control">
                </div>
                <label class="col-xs-12 col-sm-1 control-label">时间:</label>
                <div class="date-picker col-xs-12 col-sm-5">
                    <div class=" col-sm-5">
                        <input type="text" class="text Wdate form-control" name="startTime" onfocus="WdatePicker();"/>
                    </div>
                    <label class="col-xs-1 control-label" style="text-align: center">-</label>
                    <div class="col-sm-5">
                        <input type="text" class="text Wdate form-control" name="endTime" onfocus="WdatePicker();"/>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-1 control-label">操作用户:</label>
                <div class="col-xs-12 col-sm-2">
                    <input type="text" class="form-control" name="user"/>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">方法:</label>
                <div class="col-xs-12 col-sm-2">
                    <input type="text" class="form-control" name="method"/>
                </div>
                <label class="col-xs-12 col-sm-1 control-label">IP:</label>
                <div class="col-xs-12 col-sm-2">
                    <input type="text" class="form-control" name="ip"/>
                </div>
                <div class="col-xs-2">
                    <button class="btn btn-info btn-sm" type="button" onclick="doSearch()"><i class="ice-icon fa fa-search"></i>查找</button>
                </div>
            </div>

        </form>
    </div>
</div>
<div id="indexAlert" class="hide" style="min-width:400px"></div>
<div class="row">
    <div class="col-xs-12">
        <table id="jqGrid" class="grid_auto" grid_ref=""></table>
        <div id="jqGridPager"></div>
    </div>
</div>

[/@htmlBody]

[@htmlFoot]
<script src="${jpath}/assets/public/plugins/dialog/bootbox.js" type="text/javascript"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/i18n/grid.locale-cn.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/jquery.jqGrid.min.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/jqGrid/jqGrid-extends.js"></script>
<script type="text/javascript" src="${jpath}/assets/public/plugins/datePicker/WdatePicker.js"></script>
<script src="${base}/plugins/single/js/module/operateLog/operateLog.js" type="text/javascript"></script>

<script type="text/javascript">
    $(document).ready(function () {
        loadData();
    });
    page_handlers.resize_handler=function(){
        jqGrids.auto_size();
    };
</script>

[/@htmlFoot]